home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
teglp.zip
/
SAMPROGS.ZIP
/
SAMC0306.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-06-27
|
957b
|
60 lines
{$F+} { -- far code model is required for any functions that }
{ -- are to be used as Event Handlers }
Uses
dos,
graph,
virtmem,
fastgrph,
TEGLIntr,
TEGLICON,
TEGLGRPH,
TEGLUnit,
TEGLMenu,
SenseMs,
DebugUnt,
TEGLEasy;
{ -- insert variables here }
VAR fs : ImageStkPtr;
i : word;
{ -- insert procedures and functions here }
BEGIN
EasyTEGL;
{ -- insert the example code here }
{ -- press Ctrl-Break to exit program }
PushImage(1,1,50,50);
ShadowBox(1,1,50,50);
fs := StackPtr;
i := 20000;
REPEAT
dec(i);
IF i=10000 THEN
HideImage(fs);
IF i=0 then
BEGIN
ShowImage(fs,fs^.x,fs^.y);
i := 20000;
END;
UNTIL Mouse_Buttons<>0;
IF i<=10000 THEN
ShowImage(fs,fs^.x,fs^.y);
{ -- control is then passed to the supervisor }
TEGLSupervisor;
END.